package com.cheng.service;

import com.cheng.common.exception.CommonException;
import com.cheng.data.entity.CompanyBaseInfoEntity;
import com.cheng.data.vo.CompanyBaseInfoVO;

import java.util.List;

/**
 * @author: ChengJW
 * @date: 2021/11/7 21:34
 * @version: 1.0
 * @description: 企业基本信息表 company_base_info
 */
public interface CompanyBaseInfoService {

    /**
    * @author: ChengJW
    * @params: []
    * @return: com.cheng.data.vo.CompanyBaseInfoVO
    * @date: 2021/11/7
    * @description: 查询 companyBaseInfo 信息
    */
    List<CompanyBaseInfoEntity> queryCompanyBaseInfo(CompanyBaseInfoEntity entity) throws CommonException;

    /**
     * @author: ChengJW
     * @params: [entity]
     * @return: int
     * @date: 2021/9/20
     * @description: 根据 id 修改 companyBaseInfo 信息
     */
    int updateCompanyBaseInfo(CompanyBaseInfoEntity entity) throws CommonException;
}
